package com.fastloan.safe.mgt.sys.model;

import com.kawins.base.baseabs.BaseModel;

import javax.persistence.*;

/**
 * @author rankai
 *         createTime 2017-11-2017/11/8 10:21
 */
@Table(name = "CM_CHINA_CITY")
public class CmChinaCity extends BaseModel<String> {

    @Id
    @Column(name = "ID")
    private Integer id;

    @Column(name = "NAME")
    private String name;

    @Column(name = "PID")
    private Integer pid;

    public Integer getId() {
        return id;
    }

    public CmChinaCity setId(Integer id) {
        this.id = id;
        return this;
    }

    public String getName() {
        return name;
    }

    public CmChinaCity setName(String name) {
        this.name = name;
        return this;
    }

    public Integer getPid() {
        return pid;
    }

    public CmChinaCity setPid(Integer pid) {
        this.pid = pid;
        return this;
    }
}
